﻿using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using YArchitech.LIB;

namespace HYPretreatmentModeling
{
	public partial class PretreatmentConfigDataForm : System.Windows.Forms.Form
	{
		public PretreatmentConfigDataForm()
		{
			this.InitializeComponent();
			string text = PretreatmentConfigData.ReadUserData();
			this.txtFrameLayer.Text = text;
		}

		private void DrawingMappingSettingsForm_Load(object sender, EventArgs e)
		{
			base.Icon = Resource.YArchitechIcon;
		}

		private void btnCancel_Click(object sender, EventArgs e)
		{
			base.Close();
		}

		private void btnOK_Click(object sender, EventArgs e)
		{
			PretreatmentConfigData.WriteUserData(this.txtFrameLayer.Text);
			base.Close();
		}
	}
}
